import QtQuick 2.0
import QtQuick.Controls 2.3

ItemDelegate {
    id:exc_normal_btnstyle
    width: 80
    height: width*0.4
    font.bold: true
    font.family: "Verdana"
    property alias nameText: name.text
    property alias nameFontpixelSize: name.font.pixelSize
    font.weight: Font.Black
    checkable: false
    scale: hovered?(pressed? 0.96:0.98):1

    Text {
        id: name
        width: parent.width
        height: parent.height
        color: "#DDDDDD"
//        text: qsTr("test")
        font.bold: true
        font.family: "Verdana"
        font.pixelSize: parent.height*0.55
        horizontalAlignment: Text.AlignHCenter//(1)
        verticalAlignment: Text.AlignVCenter//(2)
    }

    background:Image {
        source: !pressed?(hovered? "../picture/button/buttonStyle1_hover.png":
                                   "../picture/button/buttonStyle1.png"):"../picture/button/buttonStyle1_press.png"
    }
}


/*##^##
Designer {
    D{i:0;formeditorZoom:4}
}
##^##*/
